//
//  ZanView.h
//  diaoyuren
//
//  Created by 钓鱼人 on 16/2/17.
//  Copyright © 2016年 game. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "SelectthreadModel.h"



@protocol ZanViewClickDeleget <NSObject>
/**
 *  点赞代理
 */
-(void)ZanClickISLogin:(BOOL)islogin;

/**
 *  打赏代理
 */
-(void)awardClick:(BOOL)isLogin;

/**
 *  点击点赞人的头像查看个人空间 代理
 *
 *  @param uid 用户id
 */
-(void)ShowSpaceClick:(NSString *)uid;

-(void)praimsFieleWhitMessage:(NSString *)message;

-(void)Succerefresh;

@end

@interface ZanView : UIView

@property (nonatomic,strong) UILabel *Zan;
@property (nonatomic,strong) UILabel *count;

@property (nonatomic,strong) NSMutableArray *headAry;

@property (nonatomic,strong) UIView *footView;

@property (nonatomic,weak) id<ZanViewClickDeleget>deleget;

@property (nonatomic,strong) SelectthreadModel *model;


/**
 *  判断是否进行了点赞操作
 */
@property (nonatomic,assign) BOOL IsZan;

/**
 *  通过网络数据判断这篇文章是否已经点过赞
 */
@property (nonatomic,assign) BOOL HaveUid;


@property (nonatomic,copy) NSString  *formHash;

-(void)IsZanYES;


@property (nonatomic,strong) NSArray *awardAry;

@end
